how to add 'selected' attribute in li using jQuery or Javascript